package dao;

import java.util.List;

import model.MemberVO;
import model.MessageVO;
import model.SchedulerVO;
import model.adminMemberVO;

public interface CalendarDAO {
	//admin
	public List<MemberVO> getMemberList(int key,String id);
	public List<MemberVO> login(String id, String pw);
	public List<adminMemberVO> adminLogin(String _id, String _pw);
	public List<MessageVO> getMessageList(int key, String id);
	public List<SchedulerVO> getSchedulerList(int key, String id);

	//scheduler
	public void insertScheduler(SchedulerVO vo);
	public void deleteScheduler(int mem_id);
	public SchedulerVO selectScheduler(int mem_id);
	public void modifyScheduler(SchedulerVO vo);
	
	//member
	public void insertMember(MemberVO vo);
	public void deleteMember(int mem_id);
	public MemberVO selectMember(int mem_id);
	public void modifyMember(MemberVO vo);
	public String returnMemberName(String mem_id,int queryKey);
	
	//message
	public void insertMessage(MessageVO vo);
	public void deleteMessage(int mem_id);
	public MessageVO selectMessage(int mem_id);
	public void modifyMessage(MessageVO vo);
	
}
